package com.intellagric.mapper;

import com.intellagric.pojo.TraceTableRows;
import com.intellagric.pojo.TraceTableRowsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceTableRowsMapper {
    long countByExample(TraceTableRowsExample example);

    int deleteByExample(TraceTableRowsExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceTableRows record);

    int insertSelective(TraceTableRows record);

    List<TraceTableRows> selectByExample(TraceTableRowsExample example);

    TraceTableRows selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceTableRows record, @Param("example") TraceTableRowsExample example);

    int updateByExample(@Param("record") TraceTableRows record, @Param("example") TraceTableRowsExample example);

    int updateByPrimaryKeySelective(TraceTableRows record);

    int updateByPrimaryKey(TraceTableRows record);
}